package com.example.springboot.service;

import com.example.springboot.common.Result;
import com.example.springboot.entity.Note;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

public interface INoteService extends IService<Note> {
    Result insert(Note note);
    Result findByGuide(Integer guideId);
    Result searchByGuide(Integer userId,String guideName);
    Result getByUidAndGid(Integer userId,Integer guideId);

    boolean deleteByGuide(Integer guideId);

    Result saveNote(Note note);
}
